package com.gs.gaosheng.domain;

import com.gs.common.annotation.Excel;
import com.gs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商品和商品活动关联表对象 gs_goods_status
 *
 * @author yy
 * @date 2023-08-03
 */
public class GsGoodsStatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品和状态关联id */
    private Long goodsStatusId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 状态id */
    @Excel(name = "状态id")
    private Long statusId;

    public void setGoodsStatusId(Long goodsStatusId)
    {
        this.goodsStatusId = goodsStatusId;
    }

    public Long getGoodsStatusId()
    {
        return goodsStatusId;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setStatusId(Long statusId)
    {
        this.statusId = statusId;
    }

    public Long getStatusId()
    {
        return statusId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsStatusId", getGoodsStatusId())
            .append("goodsId", getGoodsId())
            .append("statusId", getStatusId())
            .toString();
    }
}
